package com.google.code.sip.ucenter.ws.dto;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.google.code.sip.ucenter.ws.adapter.DateAdapter;

/**
 * 应用实体类
 * 
 * @author Liuye
 * 
 */
@XmlRootElement(name = "application")
@XmlSeeAlso(BaseDto.class)
@XmlAccessorType(XmlAccessType.FIELD)
@SuppressWarnings("serial")
public class ApplicationDto extends BaseDto {
	/**
	 * 应用类型
	 */
	private String type;
	/**
	 * 应用名称
	 */
	private String name;
	/**
	 * 应用的 URL:
	 */
	private String url;

	/**
	 * 应用IP
	 */
	private String ip;
	/**
	 * 创建日期
	 */
	@XmlJavaTypeAdapter(DateAdapter.class)
	private Date createdDate;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
}
